package com.sky.service;

import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.ShoppingCart;

import java.util.List;

public interface ShoppingCarService {
    /**
     *添加购物车
     */
    void addshoppingCar(ShoppingCartDTO shoppingCartDTO);

    /**
     *查询购物车
     */
    List<ShoppingCart> showShoppingCart();

    /**
     * 清空购物车
     */
    void clean();

    /**
     *删除购物车中一个商品*
     */
    void deleteShoppingCar(ShoppingCartDTO shoppingCartDTO);
}
